package com.tuozixuan.tomj.config;

import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties
//@TomlPropertySource(value = { "classpath:application.toml" })
public class SanctionProperties {
    
    private String xmlContentUrl;
    
    private String htmlContentUrl;
    
    private Map<String, String> sanction;

	public String getXmlContentUrl() {
		return xmlContentUrl;
	}

	public void setXmlContentUrl(String xmlContentUrl) {
		this.xmlContentUrl = xmlContentUrl;
	}

	public String getHtmlContentUrl() {
		return htmlContentUrl;
	}

	public void setHtmlContentUrl(String htmlContentUrl) {
		this.htmlContentUrl = htmlContentUrl;
	}
    
	public Map<String, String> getSanction() {
		return sanction;
	}

	public void setSanction(Map<String, String> sanction) {
		this.sanction = sanction;
	}
}
